<?php
namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class testProviders extends ServiceProvider
{
    private $server;

    public function __construct($service)
    {
        $this->server = $service;
    }

    public function answer($question)
    {
        return $this->server.$question;
    }
}